package com.demo.gulimall.ware.feign;

import com.demo.gulimall.common.utils.R;
import com.demo.gulimall.ware.vo.OrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Chen Yuan
 * @create 2023-07-04  10:07
 */
@FeignClient("mall-order")
public interface OrderFeignService {

	@GetMapping("/order/status")
	public R<OrderVo> getOrderStatus(@RequestParam("orderSn") String orderSn);
}
